package com.platform.api.bzproject.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.google.common.collect.Lists;
import com.platform.api.bzproject.vo.ParamWallpaper;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 小程序壁纸表 抖音、快手、微信
 *
 * @author guoyunfei
 * @email 2549789059@qq.com
 * @date 2021-07-08 15:48:09
 */
@Data
@TableName("t_bz_all_wallpaper")
public class BzAllWallpaper extends Model<BzAllWallpaper>{
	private static final long serialVersionUID = 1L;

	@TableId
	private Long id;

	/**
	 * 用户ID
	 */
	private String openid;
	//分类id
	private Integer classId;
	//二级分类ID
	private Integer twoClassId;
	//原图地址
	private String image;
	//压缩图地址
	private String thumbnail;
	//低画质图片
	private String lowImageQuality;
	//标题
	private String title;
	//时间
	private Date time;
	//标签
	private String tags;
	//排序
	private Integer sort;
	//评论数
	private Integer commentCount;
	//浏览数
	private Integer browseCount;
	//下载数
	private Integer downCount;
	//分享数
	private Integer shareCount;
	//收藏数
	private Integer collectionCount;
	//点赞数量
	private Integer likeCount;
	//是否删除0是1否
	private Integer isDelete;
	//最后操作时间
	private Date updateTime;
	//录入时间
	private Date createTime;

	private Integer ossId;

	private String ossResourcesurl;

	private Long imgSize;

	private int imgWidth;

	private int imgHeight;

	private String appid;

	private String name;
	//状态：1-待审核；2-审核通过；3-审核不通过
	private Integer status;
	//是否系统壁纸
	private Integer isSys;

	//影视分类ID
	private Long filmCategoryId;

	@TableField(exist = false)
	private List<String> imgList;

	@TableField(exist = false)
	private List<ParamWallpaper> paramWallpaperList = Lists.newLinkedList();

	@TableField(exist = false)
	private String classType;

	@TableField(exist = false)
	private String tagsIds;

	//置顶 0否1是
	private Integer topping;
	/**
	 * 原视频
	 */
	private String originalVideo;

	private Long filmId;

	private Integer number;

}
